package com.lgj.springboot_lgj.dao.ext;


import com.lgj.springboot_lgj.bean.basic.BaseUser;
import org.apache.ibatis.annotations.Param;
import com.sun.prism.PixelFormat;
import org.springframework.stereotype.Component;

import java.util.List;

import javax.xml.crypto.Data;

/**
 *
 * @author LDD
 * @date 2022/6/17 20:23
 */
public interface BaseUserExtMapper {
    //根据用户名(账户)查询用户
    BaseUser getUsername(String username);
    BaseUser getUserTelephone(String telephone);
    //用户模块
    void updateUserIcon(Integer id,String alterUserIcon);
    List<BaseUser> findAllByBaseUser(String username,Integer role);
    //通过ID查找对应的角色名
     Integer findRole(Integer id);
}

